package com.hq.service;

import com.hq.pojo.Custome;
import com.hq.pojo.Staff;
import com.hq.pojo.Staff_message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Staff_messageService {

    /*
     * 增加一条员工数据
     * */
    public abstract int add_staff(Staff staff) throws Exception;

    /*
     * 增加一条员工数据
     * */
    public abstract int add_staff_message(Staff_message staff_message) throws Exception;


    /*
     *根据客户id删一条员工数据
     * */
    public abstract int del_staff(Integer id) throws Exception;

    /*
     *根据客户id删一条员工信息数据
     * */
    public abstract int del_staff_message(Integer id) throws Exception;


    /*
     *根据客户id修改一条客户数据
     * */
    public abstract int upd_staff(Staff staff) throws Exception;

    /*
     *根据客户id修改一条客户信息数据
     * */
    public abstract int upd_staff_message(Staff_message staff_message) throws Exception;


    /*
     *查询一条员工数据
     * */
    public abstract Staff_message sel_staff(Staff staff) throws Exception;

    /*
     *查询一条员工信息数据
     * */
    public abstract Staff_message sel_staff_message(Staff_message staff_message) throws Exception;


    /*
     *查询所有员工基础数据
     *
     * */
    public abstract List<Staff> Staff_list_all(@Param("pages") Integer pages, @Param("pageSize")Integer pageSize, @Param("staff_id")long staff_id, @Param("staff_name")String staff_name) throws Exception;

    /*
     *查询所有员工信息数据
     * */
    public abstract List<Staff_message> Staff_message_list_all(@Param("pages") Integer pages,@Param("pageSize")Integer pageSize,@Param("inquire") String inquire) throws Exception;
    /*
     * 查询有多少条客户信息
     * */
    //public abstract int sel_quantity_cus() throws  Exception;
}
